"use client";

import NavItemLink from "./nav-item-link";
import ForAuth from "./for-auth";

export default function RightRegister({ className }: { className?: string }) {
  return (
    <ForAuth when="unauthed">
      <NavItemLink className={className} href="/register">
        注册
      </NavItemLink>
    </ForAuth>
  );
}
